package com.doubi.model.sys;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * 服务者的服务
 *
 * @author MrDoubi
 * @since 2020-03-17
 */
@Data
@TableName("t_user_service")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class TUserService extends Model<TUserService> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "oid", type = IdType.UUID)

    private String oid;


    @Override
    protected Serializable pkVal() {
        return this.oid;
    }

    @TableField("user_oid")

    private String userOid;


    @TableField("service_provider_oid")

    private String serviceProviderOid;


    @TableField("img_urls")

    private String imgUrls;


    @TableField("name")

    private String name;


    @TableField("introduce")

    private String introduce;


    @TableField("price")

    private BigDecimal price;


    @TableField("video_url")

    private String videoUrl;


    @TableField("video_length")

    private String videoLength;
    @TableField("video_img")

    private String videoImg;


    @TableField("content")

    private String content;


    /**
     * 主图
     */
    @TableField("master_img")

    private String masterImg;


    @TableField("create_time")

    private Date createTime;


    @TableField("update_time")

    private Date updateTime;


    /**
     * 删除状态（0已删除/1未删除）
     */
    @TableField("is_delete")
    @TableLogic

    private Integer isDelete;
}